package com.kkb.spring.service;

import com.kkb.mybatis.po.User;
import com.kkb.spring.dao.UserDao;

import java.util.List;
import java.util.Map;

public class UserServiceImpl implements UserService {

    private UserDao userDao;

    public UserServiceImpl(UserDao userDao) {
        this.userDao = userDao;
    }

    public UserServiceImpl() {

    }

    @Override
    public List<User> queryUsers(Map<String, Object> params) {
        return userDao.queryUserList(params);
    }
}
